<table class="table table-striped">
    <style>
        th{
            width: 16%;
        }
    </style>
    <tbody>
    <tr>
        <th>{:__('Warranty.workID')}</th>
        <td>{$row.warranty.workID}</td>
    </tr>
    <tr>

        <th>{:__('Status')}</th>
        <td>{$row.status_text}</td>
    </tr>
    <tr>

        <th>{:__('User.nickname')}</th>
        <td>
            {if empty($row.user_id)}
            平台
            {else}
            <img class="mx-auto d-block" src="{$row.user.avatar}" style="max-width: 50px; max-height: 50px;border-radius: 50%;" />
            {$row.user.nickname}
            {/if}
        </td>
    </tr>
    <tr>

        <th>{:__('Type_data')}</th>
        <td>{$row.type_data_text}</td>
    </tr>
    <tr>

        <th>{:__('Servicetime')}</th>
        <td>{if !empty($row.servicetime)}{$row.servicetime_text}{else}——{/if}</td>
    </tr>
    <tr>

        <th>{:__('Applytime')}</th>
        <td>{if !empty($row.applytime)}{$row.applytime_text}{else}——{/if}</td>
    </tr>
    <tr>

        <th>{:__('Statementtime')}</th>
        <td>{if !empty($row.statementtime)}{$row.statementtime_text}{else}——{/if}</td>
    </tr>
    <tr>

        <th>{:__('Contract_status')}</th>
        <td>{$row.contract_status_text}</td>
    </tr>
    <tr>

        <th>{:__('Service_type')}</th>
        <td>{$row.service_type_text}</td>
    </tr>
    <tr>

        <th>{:__('Present_time')}</th>
        <td>{if !empty($row.present_time)}{$row.present_time_text}{else}——{/if}</td>
    </tr>
    <tr>

        <th>{:__('Warranty_time')}</th>
        <td>{if !empty($row.warranty_time)}{$row.warranty_time_text}{else}——{/if}</td>
    </tr>
    <tr>
        <th>{:__('Image')}</th>
        <td>
            {if !empty($row.image)}
            <a href="{$row.image}" data-url="{$row.image}" target="_blank" class="thumbnail" data-cursor="pointer" style="cursor: pointer;">
                <img src="{$row.image}" class="img-responsive">
            </a>
            {/if}
        </td>
    </tr>
    <tr>
        <th>{:__('Ending')}</th>
        <td>
            {$row.ending}
        </td>
    </tr>
    <!--{if $Think.get.dialog}
    <tr>
        <td>回传数据</td>
        <td>
            <div class="input-group">
                <input name="callback" class="form-control" value="test" />
                <span class="input-group-btn"><a href="javascript:;" class="btn btn-success btn-callback" >回传数据</a></span>
            </div>
        </td>
    </tr>
    {/if}-->
    </tbody>
</table>
<div class="hide layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
    </div>
</div>
